package cn.qin.xhangapi.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 系统用户登录日志表
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "login_log")
public class LoginLog {
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @TableField(value = "user_id")
    private Long userId;

    @TableField(value = "login_ip")
    private String loginIp;

    @TableField(value = "login_area")
    private String loginArea;

    @TableField(value = "login_time")
    private Long loginTime;
}